package cn.heygod.airsql.executor;


import java.util.List;

/**
 * @className: SqlExecutor
 * @author: Simon
 * @description: TODO
 * @date: 2024/1/26 21:36
 * @version: 1.0
 */
public interface SqlExecutor {

    int update(String sql, List params);

    int delete(String sql, List params);

    <T> List<T> query(Class<T> modelClass,String sql, List params);

    <T> T queryOne(Class<T> modelClass,String sql, List params);

    Integer queryInt(String sql, List params);

}
